home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part1 / 4645 < prev    next >
Encoding:
Internet Message Format  |  1996-08-06  |  917 b 

  1. Path: news.inet.fi!usenet
  2. From: asko.juvonen@caiproint.inet.fi (asko juvonen)
  3. Newsgroups: comp.lang.c++
  4. Subject: Problems calling DLLs
  5. Date: 31 Jan 1996 12:54:03 GMT
  6. Organization: caiproint
  7. Message-ID: <4enopb$hd8@kuikka.inet.fi>
  8. NNTP-Posting-Host: user-5-43.dial.inet.fi
  9. X-Newsreader: WinVN 0.92.6+
  10.  
  11. I have made some DLLs with Turbo C++ for Windows 4.5, but calling
  12. programs are unable to find any functions in the DLLs, unless the
  13. corresponding import library is linked to the program, after which
  14. everything works fine. The problem is, the DLLs are ment to be used
  15. with a Toolbook program, and AFAIK there is no way to link the
  16. implibs with Toolbook. What can I do to make Toolbook see the
  17. functions in my DLLs? Is there some particular style I should use
  18. when defining functions? I currently use the extern "C" style,
  19. resulting in case sensitive function names starting with an
  20. underscore (no C++ name mangling).
  21.